html {
    // 根据iphone6做尺寸适配，1rem相当于100px
    font-size: calc(100vw / 3.75);
    // 全局使用box-sizing: border-box
    box-sizing: border-box;
    height: 100%;
}
*,
*:before,
*:after {
    box-sizing: inherit;
}
body {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    font-size: 0.14rem;
    font-family: PingFangSC-Regular, PingFang SC, "Microsoft YaHei", "微软雅黑",
        Arial, sans-serif;
}
.flex-ele-vertical {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.dyf {
    display: flex;
}

// placeholder默认颜色
::-webkit-input-placeholder {
    color: #999;
    font-weight: normal;
}
:-moz-placeholder {
    color: #999;
    font-weight: normal;
}
::-moz-placeholder {
    color: #999;
    font-weight: normal;
}
:-ms-input-placeholder {
    color: #999;
    font-weight: normal;
}
// 通用input
input[type="text"] {
    font-size: 0.14rem;
    background-color: transparent;
    outline: none;
}

[v-cloak] {
    display: none;
}

@keyframes slideLeft {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}
@keyframes slideRight {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.transanimenteractive {
    animation: slideLeft 0.3s;
}
.transanimleaveactive {
    animation: slideRight 0.5s;
}
.slide-right-enter-active,
.slide-right-leave-active,
.slide-left-enter-active,
.slide-left-leave-active {
    will-change: transform;
    transition: all 500ms;
    position: absolute;
}
.slide-right-enter {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
}
.slide-right-leave-active {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
}
.slide-left-enter {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
}
.slide-left-leave-active {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
}

.app {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.main {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.main > .header {
    position: relative;
    left: 0;
    top: 0;
    height: 49px;
    background-color: #999999;
    z-index: 2;
}

.main > .container {
    position: relative;
    left: 0;
    top: 0;
    background-color: #fff;
    z-index: 1;
    width: 100vw;
    height: calc(100% - 50px);
    overflow: hidden;
    overflow-y: scroll;
}

.main .ui_tabBar i {
    font-size: 20px;
}

.sub_page {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
    top: 0;
    left: 0;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    background-color: #f3f3f3;
}
.appfooter {
    padding-top: 0.06rem;
    width: 100vw;
    height: 0.52rem;
    background: rgba(253, 254, 253, 1);
    border-top: thin solid #f2f2f2;
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
}
